package com.eachonline.smart.model;

import com.eachonline.smart.model.base.BaseSmartBanner;
import com.eachonline.util.StringUtil;

public class SmartBanner extends BaseSmartBanner {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2863506050782474677L;
	
	public String getBannerPicUrl()
	{
		if(StringUtil.isEmpty(super.getPic()))
		{
			return SMART_PIC_URL + "/image/getPic?key=" + super.getPic();
		}else
		{
			return  SMART_IMG_URL+super.getPic()+"@!pcbanner";
			
		}
		
	}
}